package com.zkthink.ceres.cms.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.ToString;
import lombok.experimental.Accessors;
import org.hibernate.validator.constraints.Length;

/**
 * <p>
 * 实体类 装修配置表
 * </p>
 *
 * @author kellen
 * @since 2020-05-16
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Accessors(chain = true)
@ToString(callSuper = true)
@EqualsAndHashCode(callSuper = false)
@Builder
@ApiModel(value = "CmsTemplatePageDTO", description = "装修配置表")
public class CmsTemplatePageDTO implements Serializable {

  private static final long serialVersionUID = 1L;

  /**
   * 自定义页面名称
   */
  @ApiModelProperty(value = "自定义页面名称")
  @Length(max = 100, message = "自定义页面名称长度不能超过100")
  private String name;
  /**
   * 配置内容
   */
  @ApiModelProperty(value = "配置内容")
  private String config;
  /**
   * 是否自定义
   */
  @ApiModelProperty(value = "是否自定义")
  private Boolean isCustom;
  /**
   * 是否删除 0未删除 1已删除
   */
  @ApiModelProperty(value = "是否删除 0未删除 1已删除")
  private Integer isDelete;

  @ApiModelProperty(value = "模板id")
  private Long id;

}
